<?php
namespace iflow;

use iflow\Container\implement\annotation\Annotation;

require '../vendor/autoload.php';


// 应用初始化 FPM
#[Annotation([
    'namespaces' => [ __DIR__ . '/../app' ]
])] // 加载指定文件夹
class MyApplication extends \iflow\http\App {
    public function runApp()
    {
        $this->run();
    }
}

(new MyApplication(dirname(__DIR__))) -> runApp();
